using System;

namespace NUnit.Behave
{
    public class As_A_Conjunction : NarrativeConjunction
    {
        private I_Want_Conjunction i_Want_Conjunction;

        public As_A_Conjunction(string roleOfUser):base(roleOfUser)
        {
			WriteConsoleMessage(MessageType.Story_As_A);
        }

		/// <summary>
		/// What type of feature are you asking for?
		/// </summary>
		/// <param name="what_feature_do_you_want">What feature do you want?</param>
		/// <returns>The conjunction that exposes the method \"So That\".</returns>
		public I_Want_Conjunction I_want(string what_feature_do_you_want)
        {
            i_Want_Conjunction = new I_Want_Conjunction(what_feature_do_you_want);
            return i_Want_Conjunction;
        }

        public override void RenderTo(IMessageProvider messageProvider)
        {
            messageProvider.AddMessage(MessageType.Story_As_A, message);
            i_Want_Conjunction.RenderTo(messageProvider);
        }
    }
}